<?php

namespace app\modules\borrowers\models;

use Yii;

/**
 * This is the model class for table "rah_borroweraudit".
 *
 * @property integer $borrowerID
 * @property integer $bwAuditID
 * @property integer $projectID
 * @property string $auditResult
 * @property resource $auditComments
 * @property string $auditUser
 * @property string $auditDate
 * @property integer $auditMonth
 * @property string $auditAmt
 * @property string $customerType
 */
class Borroweraudit extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'rah_borroweraudit';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['borrowerID', 'projectID', 'auditMonth'], 'integer'],
            [['auditComments'], 'string'],
            [['auditDate'], 'safe'],
            [['auditAmt', 'customerType'], 'number'],
            [['auditResult', 'auditUser'], 'string', 'max' => 50],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'borrowerID' => 'Borrower ID',
            'bwAuditID' => 'Bw Audit ID',
            'projectID' => 'Project ID',
            'auditResult' => 'Audit Result',
            'auditComments' => 'Audit Comments',
            'auditUser' => 'Audit User',
            'auditDate' => 'Audit Date',
            'auditMonth' => 'Audit Month',
            'auditAmt' => 'Audit Amt',
            'customerType' => 'Customer Type',
        ];
    }
}
